package cn.hu.pet.mapper;

import cn.hu.pet.domain.Pet;
import cn.hu.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Hu
 * @since 2022-12-27
 */
@Repository
public interface PetMapper extends BaseMapper<Pet> {

    void batchOnsaleByIds(@Param("ids") List<Long> ids, @Param("date")Date date);

    void batchOffsaleByIds(@Param("ids")List<Long> ids, @Param("date")Date date);
}
